<template>
  <div>
    <el-container>
      <el-header>Redas后台管理</el-header>
        <el-container>
          <el-aside width="300px">
            <navgitor />
          </el-aside>
          <el-main>
            <router-view/>
          </el-main>
        </el-container>
    </el-container>
    <!-- <router-view/> -->
  </div>
</template>

<script>
import Navigator from '@/components/AsideNavigator'

export default {
  name: 'App',
  components: {
    'navgitor': Navigator
  },
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

* {
    margin: 0;
    padding: 0;
}
.el-header {
    background-color: #B3C0D1;
    color: #333;;
    line-height: 60px;
  }
  
.el-aside {
    background-color: #545c64;
    color: #333;
    /* display: block;
    position: absolute;
    left: 0;
    top: 60px;
    bottom: 0; */
    /* overflow-y: scroll; */
  }
  
  .el-main {
    background-color: #E9EEF3;
    color: #333;

  }
</style>
